package org.nepu.scr.indexrate.vo.drillingrate.keydevice.nozzlesystem;

import lombok.Data;
import org.nepu.scr.indexrate.converter.drillingrate.keydevice.improvesystem.InputTerminalConverter;
import org.nepu.scr.indexrate.vo.drillingrate.keydevice.improvesystem.InputTerminal;

import javax.persistence.Column;
import javax.persistence.Convert;

@Data
public class Throttle {

    //公称通径mm
    @Convert(converter = InputTerminalConverter.class)
    @Column(name = "nominal_diameter")
    InputTerminal nominalDiameter;

    //计壁厚mm
    @Convert(converter = InputTerminalConverter.class)
    @Column(name = "wall_thickness")
    InputTerminal wallThickness;

    //工作压力MPa
    @Convert(converter = InputTerminalConverter.class)
    @Column(name = "working_pressure")
    InputTerminal workingPressure;

}
